<?php

/*注册视图*/

	function login(){
		?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>魔镜系统</title>
	<link rel="stylesheet" type="text/css" href="views/css/log.css" />
	<link rel="stylesheet" type="text/css" href="views/css/re.css" />
	<script type="text/javascript" src="views/js/jquery-1.11.0.js"></script>
	<script type="text/javascript" src="views/js/log.js"></script>

</head>

<body>
	<div class="logintext">魔镜系统</div>
	<div id="login">
		<div class="loginbg">
			<img class="img1" src="views/img/bg1.jpg"/>
			<img class="img1" src="views/img/bg2.jpg"/>
			<img class="img1" src="views/img/bg3.jpg"/>
		</div>
		
		<div class="logininput">
			<form action="controls/checklog.php" method="post">

				<div class="inputtext">
					<div class="itname">用户名:</div>
					<input required class="ittext" id="username" type="text" name="username" onblur="checkid();" onfocus="returnit()"  />		
				</div>

				<div class="inputtext">
					<div class="itname">密码:</div>
					<input required class="ittext"  id="passwd" type="password" name="passwd" />
				</div>

				<div id="inputbutton" class="inputtext">
					<input id="button" value="注册" type="button" onclick="location.href='views/reg.php'"/>
					<input id="button" value="登陆" type="submit" onclick="checker()"/>
				</div>
	    	</form>
		</div>

		
	</div>
</body>
</html>

<?php
	}
?>
